home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
pctchnqs
/
1990
/
number1
/
tabexp.hpp
< prev
next >
Wrap
Text File
|
1990-02-15
|
491b
|
16 lines
/* Listing 3. Header file for tabexp class */
#include <stdio.h>
class tabexp {
private:
FILE *f; /* input file stream */
int col; /* current column of current line */
int tabsize; /* given tab size */
int tabcnt; /* amount of spaces left to tab */
public:
void init(FILE *fp, int ts); /* initializer */
int get(void); /* get next char */
tabexp(FILE *fp, int ts); /* constructor */
};